#ifndef _NGLWIDGET_H
#define _NGLWIDGET_H

#include <QtOpenGL/QGLWidget>
#include <gl/GLU.h>

class NGLWidget : public QGLWidget {
    Q_OBJECT // must include this if you use Qt signals/slots

public:
    NGLWidget(QWidget *parent = NULL);

protected:
    void initializeGL();
    void resizeGL(int w, int h);
    void paintGL();
    void mousePressEvent(QMouseEvent *event);
    void mouseMoveEvent(QMouseEvent *event);
    void keyPressEvent(QKeyEvent *event);
};

#endif  /* _NGLWIDGET_H */